<?php
// TODO: update/comment
class Plus_Form_Admin_MailCategory_Add extends Zend_Form
{	
	public function init()
	{
		$this->setMethod('post');
		
		$this->addElement('text', 'Name', array(
			'label' 	=> 'Service version name:',
			'required' 	=> true
		));
		
		$this->addElement('text', 'Description', array(
			'label' 	=> 'Service version description:',
			'required' 	=> false
		));
		
		$this->addElement('checkbox', 'IsEnabled', array(
			'label'	=> 'Enable this service version for users?',
			'checked' => true
		));
		
		$this->addElement('submit', 'submit', array(
			'ignore'	=> true,
			'label'		=> 'Add service version'
		));
		
		$this->addElement('hash', 'csrf', array(
			'ignore'	=> true
		));
	}
	
	
}